export interface ListParams{
  page?:number,
  pageSize?:number,
  name?:string,
  customerName?:string,
  mobile?:string,
  state?:number | null,
  customerId?:number| null
}

export interface ListData{
  id:number,
  companyId:number,
  customerId:number,
  type:string,
  source:string,
  name:string,
  mobile:string,
  relation:string,
  visitTime:string,
  content:string,
  addTime:string,
  state:number
  addAccountId:number,
  customerName:string,
  addAccountName:string,
  stateName:string
}

export interface ListResult{
  counts:number,
  pageSize:number,
  list:ListData[]
}

export interface AddParams{
  customerId:number,
  type:string,
  source:string,
  name:string,
  customerName:string,
  mobile:string,
  relation:string,
  visitTime:string,
  content:string
}

export interface AddResult{
  id:number,
  companyId:number,
  customerId:number,
  type:string,
  source:string,
  name:string,
  mobile:string,
  relation:string,
  visitTime:string,
  content:string,
  addTime:string,
  state:number,
  addAccountId:number,
  customerName:string,
  addAccountName:null | string,
  stateName:null | string
}